package com.hawk.eye.server.domain.dto.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 *
 * @author salad
 * @date 2024-06-10
 */
@Data
public class RepairWorkOrderRespDTO {

    private Long id;

    private Long nodeUser;

    private String nodeUserName;

    private Long baseAlarmId;

    private Long repairApiId;

    private String traceId;

    private String stackHash;

    private String description;

    private String status;

    private String statusText;

    private String workOrderName;

    private String repairApiName;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    private String repairDesc;

    private Integer reqType;

    private String reqUri;

    private String reqBody;

    private List<ProblemRecordRespDTO> problemList;

    /**
     *
     */
    private Long chargeUserId;

    private Long serviceId;

    /**
     *
     */
    private String serviceZnName;

    private String serviceCnName;

    /**
     *
     */
    private String chargeUserName;

    /**
     *
     */
    private String requestUri;

    /**
     *
     */
    private LocalDateTime alarmTime;

    /**
     *
     */
    private String errorFileName;

    /**
     */
    private Map<String, Object> logMessage;

}
